<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <title></title>
                <!--<meta name="viewport" content="width=device-width, initial-scale=1.0">-->
                <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
                <link href="__PUBLIC__/css/select.css" rel="stylesheet" type="text/css" />
                <link href="__PUBLIC__/css/table.css" rel="stylesheet" type="text/css" />

                <script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.0.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/layer/layer.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/jquery.idTabs.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/select-ui.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/editor/kindeditor.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/api_page/api_page.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/api_page/ajaxfileupload.js"></script>
                <script type="text/javascript">
                        /*
                         KE.show({
                         id: 'content7',
                         cssPath: './index.css'
                         });
                         */

                        $(window).resize(function() {
                                setWidth();
                        });

                        $(function() {
                                console.log("__APP__/Home/Api/menu")
                                $(".mainleft").width(500);
                                //$(".mainright").width($(window).width() - 570);
                                $(".mainright").css("background-color", "#FDF7DB");
                                $(".mainleft").css("background-color", "#EEEEEE");
//                                alert($(window).width());
                                setWidth();
                                /*
                                 $(".select1").uedSelect({
                                 width: 345
                                 });
                                 $(".select2").uedSelect({
                                 width: 167
                                 });
                                 $(".select3").uedSelect({
                                 width: 100
                                 });
                                 */

                                //$("#a").css("background-color","red");
                                $("#jsonResultTextArea").width($("#jsonResultDiv").width() - 10);
                                $("#jsonResultTextArea").height($("#jsonResultDiv").height());

                                $(".itab").find("a").click(function() {
                                        $("#jsonResultTextArea").text("");
                                });
                        });
                </script>
        </head>
        <body>
                <div class="place">
                        <span>位置：</span>
                        <ul class="placeul">
                                <li><a href="#">API</a></li>
                                <li><a href="#">约钓</a></li>
                        </ul>
                </div>
                <div class="formbody">
                        <div id="usual1" class="usual"> 
                                <div class="itab">
                                        <ul> 
                                                <li><a href="#tab1"  class="selected">to_be_continued</a></li> 
                                        </ul>
                                        <!--<hr/>-->
                                </div> 

                                <!-----get---->
                                <div id="tab1" class="tabson">

                                        <div class="formtext">
                                                <b>约钓...</b>
                                        </div>

                                        <div class="mainbox">
                                                <div class="mainleft">
                                                        <div class="leftinfo">
                                                                <div class="listtitle">
                                                                        <!--<a href="#" class="more1">更多</a>-->
                                                                        接口说明
                                                                </div>
                                                                <div class="newlist">  
                                                                        <table  class="gridtable">
                                                                                <tr>
                                                                                        <th>字段名称</th><th>备注</th><th>数据类型</th><th>是否必选</th><th>值</th>
                                                                                </tr>
                                                                                <tr>
                                                                                        <td>app_key</td><td>App key</td><td>String</td><td>true</td><td><input type="text" name="app_key" placeholder="必填"  onkeyup="createUrl(this)"/></td>
                                                                                </tr>
                                                                                <tr>
                                                                                        <td>token</td><td>token</td><td>string</td><td>true</td><td><input type="text" name="token" placeholder="必填"  onkeyup="createUrl(this)"/></td>
                                                                                </tr>
                                                                                
                                                                        </table>
                                                                </div>

                                                        </div>

                                                </div>
                                                <!--mainleft end-->
                                                <div class="mainright">
                                                        <div class="dflist">
                                                                <div class="listtitle">
                                                                        <!--<a href="#" class="more1">更多</a>-->
                                                                        调用方式
                                                                </div>    
                                                                <ul class="newlist">
                                                                        <li>请求方式：<request_method>get</request_method></li>
                                                                        <li>请求URL：<request_url>__APP__/Api/FishdateApi/to_be_continued</request_url></li>
                                                                        <li>请求参数：<request_params></request_params></li>
                                                                        <br/>
                                                                        <li><input name="" type="button" class="btn" onclick="sendRequest(this)" id="userLoginApiFormSubmit" value="调用"/></li>
                                                                </ul>   
                                                        </div>
                                                </div>
                                        </div>
                                </div>
                                <script type="text/javascript">
                                        
                                </script>
                                <script type="text/javascript">
                                        $("#usual1 ul").idTabs();
                                        $('.tablelist tbody tr:odd').addClass('odd');
                                </script>

                        </div>
                        <div id="jsonResultDiv" style="background-color: #EEE;height: 400px;">
                                <textarea id="jsonResultTextArea" style="background-color: #EEE;"></textarea>
                        </div>
                </div>
        </body>
</html>